Integrand size = 28, antiderivative size = 154 \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\frac {10 (e \cos (c+d x))^{3/2} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{33 a^2 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 \cos (c+d x) (e \cos (c+d x))^{3/2} \sin (c+d x)}{11 a^2 d}+\frac {10 (e \cos (c+d x))^{3/2} \tan (c+d x)}{33 a^2 d}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )} \]
[Out]
Time = 0.23 (sec) , antiderivative size = 154, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {3596, 3581, 3854, 3856, 2720} \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\frac {10 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) (e \cos (c+d x))^{3/2}}{33 a^2 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )}+\frac {2 \sin (c+d x) \cos (c+d x) (e \cos (c+d x))^{3/2}}{11 a^2 d}+\frac {10 \tan (c+d x) (e \cos (c+d x))^{3/2}}{33 a^2 d} \]
[In]
[Out]
Rule 2720
Rule 3581
Rule 3596
Rule 3854
Rule 3856
Rubi steps \begin{align*} \text {integral}& = \left ((e \cos (c+d x))^{3/2} (e \sec (c+d x))^{3/2}\right ) \int \frac {1}{(e \sec (c+d x))^{3/2} (a+i a \tan (c+d x))^2} \, dx \\ & = \frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )}+\frac {\left (7 e^2 (e \cos (c+d x))^{3/2} (e \sec (c+d x))^{3/2}\right ) \int \frac {1}{(e \sec (c+d x))^{7/2}} \, dx}{11 a^2} \\ & = \frac {2 \cos (c+d x) (e \cos (c+d x))^{3/2} \sin (c+d x)}{11 a^2 d}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )}+\frac {\left (5 (e \cos (c+d x))^{3/2} (e \sec (c+d x))^{3/2}\right ) \int \frac {1}{(e \sec (c+d x))^{3/2}} \, dx}{11 a^2} \\ & = \frac {2 \cos (c+d x) (e \cos (c+d x))^{3/2} \sin (c+d x)}{11 a^2 d}+\frac {10 (e \cos (c+d x))^{3/2} \tan (c+d x)}{33 a^2 d}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )}+\frac {\left (5 (e \cos (c+d x))^{3/2} (e \sec (c+d x))^{3/2}\right ) \int \sqrt {e \sec (c+d x)} \, dx}{33 a^2 e^2} \\ & = \frac {2 \cos (c+d x) (e \cos (c+d x))^{3/2} \sin (c+d x)}{11 a^2 d}+\frac {10 (e \cos (c+d x))^{3/2} \tan (c+d x)}{33 a^2 d}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )}+\frac {\left (5 (e \cos (c+d x))^{3/2}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{33 a^2 \cos ^{\frac {3}{2}}(c+d x)} \\ & = \frac {10 (e \cos (c+d x))^{3/2} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{33 a^2 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 \cos (c+d x) (e \cos (c+d x))^{3/2} \sin (c+d x)}{11 a^2 d}+\frac {10 (e \cos (c+d x))^{3/2} \tan (c+d x)}{33 a^2 d}+\frac {4 i \cos ^2(c+d x) (e \cos (c+d x))^{3/2}}{11 d \left (a^2+i a^2 \tan (c+d x)\right )} \\ \end{align*}
Time = 1.95 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.85 \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\frac {(e \cos (c+d x))^{3/2} \left (-20 \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) (\cos (2 (c+d x))+i \sin (2 (c+d x)))+\sqrt {\cos (c+d x)} (-28 i \cos (c+d x)+4 i \cos (3 (c+d x))+13 \sin (c+d x)-7 \sin (3 (c+d x)))\right )}{66 a^2 d \cos ^{\frac {7}{2}}(c+d x) (-i+\tan (c+d x))^2} \]
[In]
[Out]
Time = 7.26 (sec) , antiderivative size = 315, normalized size of antiderivative = 2.05
method | result | size |
default | \(-\frac {2 e^{2} \left (-384 i \left (\sin ^{13}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+384 \left (\sin ^{12}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+1152 i \left (\sin ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-960 \left (\sin ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-1440 i \left (\sin ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1008 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+960 i \left (\sin ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-552 \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-360 i \left (\sin ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+176 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+72 i \left (\sin ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-28 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+5 \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, F\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}-6 i \sin \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{33 a^{2} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e +e}\, d}\) | \(315\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 115, normalized size of antiderivative = 0.75 \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\frac {{\left (-40 i \, \sqrt {2} e^{\frac {3}{2}} e^{\left (5 i \, d x + 5 i \, c\right )} {\rm weierstrassPInverse}\left (-4, 0, e^{\left (i \, d x + i \, c\right )}\right ) + \sqrt {\frac {1}{2}} {\left (-11 i \, e e^{\left (6 i \, d x + 6 i \, c\right )} + 41 i \, e e^{\left (4 i \, d x + 4 i \, c\right )} + 15 i \, e e^{\left (2 i \, d x + 2 i \, c\right )} + 3 i \, e\right )} \sqrt {e e^{\left (2 i \, d x + 2 i \, c\right )} + e} e^{\left (-\frac {1}{2} i \, d x - \frac {1}{2} i \, c\right )}\right )} e^{\left (-5 i \, d x - 5 i \, c\right )}}{132 \, a^{2} d} \]
[In]
[Out]
Timed out. \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
\[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\int { \frac {\left (e \cos \left (d x + c\right )\right )^{\frac {3}{2}}}{{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(e \cos (c+d x))^{3/2}}{(a+i a \tan (c+d x))^2} \, dx=\int \frac {{\left (e\,\cos \left (c+d\,x\right )\right )}^{3/2}}{{\left (a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}\right )}^2} \,d x \]
[In]
[Out]